﻿using Dto;
using NXModel;

namespace NXIBLL
{
    public interface INXBLL
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        Task<int> tianjia(YHJModel model);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="i"></param>
        /// <returns></returns>
        Task<int> shanchu(int i);
        /// <summary>
        /// 显示
        /// </summary>
        /// <returns></returns>
        Myhjdhbc xisnshi(int index,int size);
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="name"></param>
        /// <param name="pwd"></param>
        /// <returns></returns>
        LoginModel Login(string name, string pwd);
    }
}
